package test.yzx.pproject.act2;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;

import test.yzx.pproject.R;
import test.yzx.pproject.util.CPUAnimView;

public class CPUAnimActivity extends AppCompatActivity {

    private CPUAnimView cav;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.lay_cpu_anim);

        cav = (CPUAnimView) findViewById(R.id.cav);
        cav.start();
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        cav.stop();
    }

}
